Matthew Crump
10/31/2019
Open Github Desktop, open the Preferences menu, then sign in with your Github Account.
Git folders look like normal folders, but have hidden .git files
#fill: #FEFEFF #lineWidth: 1 #zoom: 4 #direction: right
[ Normal Folder | [Your Computer | [Folder | File 1 | File 2 | etc. ] [Folder] -/- [Properties] [Properties | Not shared | Local | No version control] ] ]
[ Git Folder | [Your Computer | [Git Folder | File 1 | File 2 | Hidden .git files ] [Git Folder] -/- [Properties] [Properties | Not shared | Local | Has version control | Looks like a normal folder] ] ] FALSETRUEFALSEFALSEFALSETRUE
#fill: #FEFEFF #lineWidth: 1 #zoom: 4 #direction: right [ Git Folder | [Your Computer | [Git Folder | File 1 | File 2 | Hidden .git files ] [Git Folder] -> [Previous Versions] [Previous Versions | [Git Folder v.3 | File 1 | File 2 | Hidden .git files ] [Git Folder v.2 | File 1 | File 2 | Hidden .git files ] [Git Folder v.1 | File 1 | File 2 | Hidden .git files ] [Git Folder v.3] -/- [Git Folder v.2] [Git Folder v.2] -/- [Git Folder v.1] ] ] ] FALSETRUEFALSEFALSEFALSETRUE
Git Folders store history of changes (version control)
#fill: #FEFEFF #lineWidth: 1 #zoom: 4 #direction: right [ Git Folder | [Your Computer | [Git Folder | File 1 | File 2 | Hidden .git files ] [Git Folder] -> [Master (Previous Versions)] [Git Folder] -> [Branch (Previous Versions)] [Master (Previous Versions) | [Git Folder v.3 | File 1 | File 2 | Hidden .git files ] [Git Folder v.2 | File 1 | File 2 | Hidden .git files ] [Git Folder v.1 | File 1 | File 2 | Hidden .git files ] [Git Folder v.3] -/- [Git Folder v.2] [Git Folder v.2] -/- [Git Folder v.1] ] [Branch (Previous Versions) | [Git Folder v.3 | File 1 | File 2 | Hidden .git files ] [Git Folder v.2 | File 1 | File 2 | Hidden .git files ] [Git Folder v.1 | File 1 | File 2 | Hidden .git files ] [Git Folder v.3] -/- [Git Folder v.2] [Git Folder v.2] -/- [Git Folder v.1] ] ] ] FALSETRUEFALSEFALSEFALSETRUE
Can have multiple branches
usually for development purposes
#fill: #FEFEFF #lineWidth: 1 #zoom: 4 #direction: right [ Git Folder | [Your Computer | [Git Folder v.1 | File 1 | File 2 | Hidden .git files ] [Git Folder v.1] –> [
#fill: #FEFEFF #lineWidth: 1 #zoom: 4 #direction: right
[ git + Github | [Github.com Repository| [Git Folder v.1 | your files] -/- [Version history | [Previous Versions| [v.1] -/- [v.0]]] ] [Your Computer] -> [Push| Send to Github] [Your Computer| [Git Folder v.1 | your files]] [Push] -> [Github.com Repository] [Pull] <- [Github.com Repository] [Pull | Sync from Github | to local] [Your Computer] <- [Pull] [Github.com Repository]-/-[Github Features] [Github Features|share folder online|download as .zip|collaboration tools|website tools|share R packages|OSF integration]] FALSETRUEFALSEFALSEFALSETRUE
Complicated at first but…
Before moving on the next module…
A few more tips
From Github.com, if you have a Github account
Normally used to report and address “bugs” in software, but can be used as useful way to have discussions (with collaborators or yourself) about project-related tasks:
We’ll talk about Github Pages and OSF (open science framework) integration in later modules. Short story is that: